package com.bjut.vendormgrsys.web.dto.other;

import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import org.springframework.validation.annotation.Validated;

/**
 * ResumeInfo
 */
@Validated


public class ResumeInfo   {
  @JsonProperty("id")
  private String id = null;

  @JsonProperty("info")
  private Object info = null;

  @JsonProperty("mobile")
  private String mobile = null;

  @JsonProperty("email")
  private String email = null;

  @JsonProperty("positionName")
  private String positionName = null;

  @JsonProperty("positionId")
  private String positionId = null;

  @JsonProperty("status")
  private String status = null;

  @JsonProperty("name")
  private String name = null;

  public ResumeInfo id(String id) {
    this.id = id;
    return this;
  }

  /**
   * 简历id
   * @return id
   **/
  @Schema(description = "简历id")
  
    public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public ResumeInfo info(Object info) {
    this.info = info;
    return this;
  }

  /**
   * 内嵌json格式数据 所有提交的简历表单数据，
   * @return info
   **/
  @Schema(description = "内嵌json格式数据 所有提交的简历表单数据，")
  
    public Object getInfo() {
    return info;
  }

  public void setInfo(Object info) {
    this.info = info;
  }

  public ResumeInfo mobile(String mobile) {
    this.mobile = mobile;
    return this;
  }

  /**
   * 电话
   * @return mobile
   **/
  @Schema(description = "电话")
  
    public String getMobile() {
    return mobile;
  }

  public void setMobile(String mobile) {
    this.mobile = mobile;
  }

  public ResumeInfo email(String email) {
    this.email = email;
    return this;
  }

  /**
   * 邮箱
   * @return email
   **/
  @Schema(description = "邮箱")
  
    public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }

  public ResumeInfo positionName(String positionName) {
    this.positionName = positionName;
    return this;
  }

  /**
   * 职位名称
   * @return positionName
   **/
  @Schema(description = "职位名称")
  
    public String getPositionName() {
    return positionName;
  }

  public void setPositionName(String positionName) {
    this.positionName = positionName;
  }

  public ResumeInfo positionId(String positionId) {
    this.positionId = positionId;
    return this;
  }

  /**
   * 职位id
   * @return positionId
   **/
  @Schema(description = "职位id")
  
    public String getPositionId() {
    return positionId;
  }

  public void setPositionId(String positionId) {
    this.positionId = positionId;
  }

  public ResumeInfo status(String status) {
    this.status = status;
    return this;
  }

  /**
   * 通过、拒绝
   * @return status
   **/
  @Schema(description = "通过、拒绝")
  
    public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }

  public ResumeInfo name(String name) {
    this.name = name;
    return this;
  }

  /**
   * 姓名
   * @return name
   **/
  @Schema(description = "姓名")
  
    public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ResumeInfo resumeInfo = (ResumeInfo) o;
    return Objects.equals(this.id, resumeInfo.id) &&
        Objects.equals(this.info, resumeInfo.info) &&
        Objects.equals(this.mobile, resumeInfo.mobile) &&
        Objects.equals(this.email, resumeInfo.email) &&
        Objects.equals(this.positionName, resumeInfo.positionName) &&
        Objects.equals(this.positionId, resumeInfo.positionId) &&
        Objects.equals(this.status, resumeInfo.status) &&
        Objects.equals(this.name, resumeInfo.name);
  }

  @Override
  public int hashCode() {
    return Objects.hash(id, info, mobile, email, positionName, positionId, status, name);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ResumeInfo {\n");
    
    sb.append("    id: ").append(toIndentedString(id)).append("\n");
    sb.append("    info: ").append(toIndentedString(info)).append("\n");
    sb.append("    mobile: ").append(toIndentedString(mobile)).append("\n");
    sb.append("    email: ").append(toIndentedString(email)).append("\n");
    sb.append("    positionName: ").append(toIndentedString(positionName)).append("\n");
    sb.append("    positionId: ").append(toIndentedString(positionId)).append("\n");
    sb.append("    status: ").append(toIndentedString(status)).append("\n");
    sb.append("    name: ").append(toIndentedString(name)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}
